<?phpclass CountryEntityBase{	public $id;	public $name;	public $logo;	public $orderBy;	public function __construct($arrValue = null, $prefix = '')
	{
		if(!is_null($arrValue) && is_array($arrValue))
		{			$this->id = strval ($arrValue[$prefix . 'id']);			$this->name = strval ($arrValue[$prefix . 'name']);			$this->logo = strval ($arrValue[$prefix . 'logo']);			$this->orderBy = (int) ($arrValue[$prefix . 'orderBy']);		}
	}	/**	 * Get all fields for selecting columns	 *	 * @param string $alias: alias of table	 * @param string $prefix	 * @return string	 */	public static function getSelectColumns($alias, $prefix = '')	{		$arrValue = array(						"{$alias}.id AS `{$prefix}id`",						"{$alias}.name AS `{$prefix}name`",						"{$alias}.logo AS `{$prefix}logo`",						"{$alias}.orderBy AS `{$prefix}orderBy`"						);		return implode(',', $arrValue);	}}